
const getters = {
  token: state => state.user.token,
  roles: state => state.user.roles,
  code: state => state.user.code,
  message: state => state.user.message,
  permission_routers: state => state.permission.routers,
  addRouters: state => state.permission.addRouters,
  sidebar: state => state.app.sidebar,
  visitedViews: state => state.tags.visitedViews,
  cachedViews: state => state.tags.cachedViews
}

export default getters
